<?php

declare(strict_types=1);

/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

use Hyperf\HttpServer\Router\Router;


use \App\Controller\DeviceController;
Router::post('/tcp/start', [DeviceController::class, 'start']);
Router::post('/tcp/setCoin', [DeviceController::class, 'setCoin']);
Router::post('/tcp/stop', [DeviceController::class, 'stop']);
Router::post('/tcp/restart', [DeviceController::class, 'restart']);
Router::post('/tcp/format', [DeviceController::class, 'formatDevice']);
Router::post('/tcp/setParams', [DeviceController::class, 'setDeviceParameters']);
Router::post('/tcp/getParams', [DeviceController::class, 'getDeviceParameters']);
